<%= stylesheet_link_tag "bill_common/results.css" %>

<div id="map_result" class="grid_list clearfix" style="height:520px;overflow-x: auto;overflow-y: auto;position: relative;">
<div class="tabs" id="bl_ctn_his_tab" style="">
  <a class="tab_sub inline-block selected" href="###" id="bl_tab" onclick="hide_ctn_history_view_bl();return false;">
    提单信息
  </a>
  <a class="tab_sub inline-block" href="###" id="ctn_his_tab" style="width: auto;padding-left: 5px;padding-right: 10px;display: none" onclick="show_ctn_history_hide_bl();return false;" >
  </a>
</div>
   <div id="bl_content_wrap">
  <!-- 以下是查询结果 -->
  <!-- 提单展示 -start-  -->
  <% unless @bls.empty? %>
      <div class="grid_list clearfix">
        <div class="c clearfix">
          <% @bls.each do |bl| %>
              <div class="row">
                <%= render :partial => "/utils/bls.html.erb", :locals => {:bl => bl} %>
                <!-- 该提单的集装箱显示 开始 -->
                <div id="bill_detail_of_<%= bl.bl_no %>" class="bl-detail-wrap">
                  <%= render :partial => "/utils/ctns.html.erb", :locals => {:containers => bl.bl_containers} %>
                </div>
                <!-- 提单的集装箱显示 结束-->
              </div>
          <% end %>
        </div>
      </div>
  <% else %>
      <div align="center" style="font-size: 16px">查无结果</div>
  <% end %>
  <!-- 提单的显示 结束  -->

  <% session[:max_page] = @bls.total_pages %>
  <%= will_paginate @bls, :style => 'font-size: small' %>
</div>

  <!-- 集装箱历史 -->
    <div id="history_win" style="width: 296px; display: none; ">
    </div>

</div>

